package per.ethan.cloud.generator.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Ethan
 * @date 2020/03/31 13:54
 */
@Data
public class Entity {

    /**
     * 自动生成类作者信息
     */
    private String authorName;

    private boolean distributed;

    private String basePackage;

    private String entityPackage;

    private String providerPackage;

    private String providerImplPackage;

    private String mapperPackage;

    private String servicePackage;

    private String serviceImplPackage;

    private String controllerPackage;

    private String utilPackage;

    private String restPathPrefix;

    private String className;

    private String tableName;

    private String tableLabel;

    private String tableAlias;

    private List<Property> properties = new ArrayList<>();

    private List<TableRelation> relations = new ArrayList<>();

}
